var STOCK_EXCHANGES = [
"SAO PAOLO"
];
var STOCK_EXCHANGES_ABBREVIATION =[
"BR"
];


/**
 * GMT hour that the Stock Exchages initiate 
 */

var STOCK_OPEN_HOUR =[
10   //To be changed --> brazil local time not summer hour
];


/**Set of dates that the stock market dont occurs. 
	*Year 1900 means that it occurs every year
	*/
	
var	STOCK_CLOSED_DATES = [
	
	[// January
	getDate("01/01/1900",USER_DATE),
	getDate("25/01/1900",USER_DATE),  //Hollyday in SP   
	// February
	// March
	// April
	getDate("06/04/1900",USER_DATE),
	getDate("21/04/1900",USER_DATE),
	 // May
	getDate("01/05/1900",USER_DATE),
	 // June
	 // July
	 // September
	 getDate("07/09/1900",USER_DATE),
	 // October
	getDate("10/10/2006",USER_DATE),
	getDate("12/10/1900",USER_DATE),
	 // November
	getDate("02/11/1900",USER_DATE),
	getDate("15/11/1900",USER_DATE),
	getDate("20/11/1900",USER_DATE),
	 // December
	getDate("23/12/1900",USER_DATE),
	getDate("24/12/1900",USER_DATE),
	getDate("25/12/1900",USER_DATE),
	getDate("29/12/1900",USER_DATE),
	getDate("30/12/1900",USER_DATE),
	getDate("31/12/1900",USER_DATE)]
	
];
	
	
function getStockExchangeAbbreviation(_name)
{
	var i;
	var abbreviation = null;
	for(i=0;i<STOCK_EXCHANGES.length;i++)
	{
		if(STOCK_EXCHANGES[i]===_uc(_name))
			abbrevation = STOCK_EXCHANGES_ABBREVIATION[i];
	}
	
	return abbrevation;
}
	



